package com.sf.dlb.mongo.model;

import java.util.Date;

/**
 * 游客信息表 Entity
 *
 * Created by jing.tan on 2018/5/21.
 */
public class VisitorInfo extends BaseMongoEntity {
		/*
  `visitor_id` varchar(64) DEFAULT NULL COMMENT '游客ID',
  `device_type` char(1) DEFAULT NULL COMMENT '设备类型(1=android,2=IOS)',
  `device_number` varchar(255) DEFAULT NULL COMMENT '设备唯一标识号',
  `name` varchar(100) DEFAULT NULL COMMENT '姓名(昵称)',
  `visitor_profiles` varchar(255) DEFAULT NULL COMMENT '游客简介',
  `token` varchar(64) DEFAULT NULL COMMENT '授权认证',
  `token_time` datetime DEFAULT NULL COMMENT '授权认证时间',
  `last_ip` varchar(100) DEFAULT NULL COMMENT '最后登陆IP',
  `last_date` datetime DEFAULT NULL COMMENT '最后登陆时间',
  `login_flag` char(1) DEFAULT '0' COMMENT '是否可登录(0:是)',
  `regist_flag` char(1) DEFAULT '0' COMMENT '是否注册(0:否 1:是)',
		*/

	private static final long serialVersionUID = 1L;
	private Long visitorId;			// 游客ID
	private String deviceType;			// 设备类型
	private String deviceNumber;		// 设备唯一标识号
	private String name;				// 姓名(昵称)
	private String visitorProfiles;		// 游客简介
	private String token;				// 授权认证
	private Date tokenTime;			// 授权认证时间
	private String lastIp;				// 最后登陆IP
	private Date lastDate;			// 最后登陆时间
	private String loginFlag;			// 是否可登录(0:是)
	private String registFlag;			// 是否注册(0:否 1:是)

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public Long getVisitorId() {
		return visitorId;
	}

	public void setVisitorId(Long visitorId) {
		this.visitorId = visitorId;
	}

	public String getDeviceNumber() {
		return deviceNumber;
	}

	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVisitorProfiles() {
		return visitorProfiles;
	}

	public void setVisitorProfiles(String visitorProfiles) {
		this.visitorProfiles = visitorProfiles;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getLastIp() {
		return lastIp;
	}

	public void setLastIp(String lastIp) {
		this.lastIp = lastIp;
	}

	public String getLoginFlag() {
		return loginFlag;
	}

	public void setLoginFlag(String loginFlag) {
		this.loginFlag = loginFlag;
	}

	public String getRegistFlag() {
		return registFlag;
	}

	public void setRegistFlag(String registFlag) {
		this.registFlag = registFlag;
	}

	public Date getTokenTime() {
		return tokenTime;
	}

	public void setTokenTime(Date tokenTime) {
		this.tokenTime = tokenTime;
	}

	public Date getLastDate() {
		return lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}
}